import { observable, action } from "mobx";

// 发帖数据状态管理
class PublishStore{
  // 用户发送的帖子
  @observable sendMessage = '';

  @action
  setMessage(sendMessage){
    this.sendMessage = sendMessage;
  }
}

export default new PublishStore();